<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div id="app">

    </div>

    <script src="vue.js"></script>
    <script src="axios.min.js"></script>
    <script>
        var vm = new Vue({
            el:'#app',
        })
        axios.get('http://127.0.0.1:8000/axios_get/',{params:{"name":"laowang","age":19}}).then(function (response) {
            console.log(response.data)
        }).catch(function (error) {
            console.log(error)
        })
        axios.post('http://127.0.0.1:8000/axios_post/',{"name":"lis","age":19}).then(function (response) {
            console.log(response.data)
        })
    </script>
</body>
</html>